package com.baor.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baor.domain.LeaveVo;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface LeaveDao  {

    public List<LeaveVo> LeaveList(Map<String,Object> param);

    public Integer pageCount(Map<String, Object> param);

    public Integer addLeave(Map<String,Object> param);

    public LeaveVo LeaveInfo(int LeaveId);

    public List<LeaveVo> addLeaveInfo();

    public Integer updateLeaveInfo(Map<String,Object> param);

}
